<template>
  <div id="app">
    <nav>
      <!-- <router-link> 默认会被渲染成一个 `<a>` 标签 -->
      <router-link to="/">Home</router-link> |
      <router-link to="/about">About</router-link>|
      <router-link to="/audio">Audio-demo</router-link>|
      <router-link to="/front-base">front-base</router-link>|
    </nav>
    <!-- 路由匹配到的组件将渲染在这里 -->
    <!-- <p>路由匹配到的组件将渲染在这里</p> -->
    
    <router-view/>
    <router-view class="viewOne" name="LeftBar"/>
    <router-view class="viewtwo" name="RightBar"/>
  </div>
</template>

<style>
.vueOne {
  float: left;
}
.vueOne {
  float: right;
}
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
}

nav {
  padding: 30px;
  text-align: center;
}

nav a {
  font-weight: bold;
  color: #2c3e50;
}

nav a.router-link-exact-active {
  color: #42b983;
}
</style>
